<ul id="paging">
{foreach $pages_list as $page}
    <li><a href="{$page.href}"
        {if $page['current']}
           class="current-page"
        {/if}
            >{$page.title}</a></li>
{/foreach}
</ul>